package com.iot.ammeter.common

import java.text.DateFormat
import java.util.*


val dateTimeFormatter: DateFormat = DateFormat.getDateTimeInstance()
fun timestampToDateTime(timeStamp: Long): String = dateTimeFormatter.format(Date(timeStamp))
